home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / et / et-2_2.lha / et2.2 / src / SERVER / ServerBitmap.C < prev    next >
C/C++ Source or Header  |  1990-11-21  |  377b  |  21 lines

  1. #include "DevBitmap.h"
  2. #include "ServerBitmap.h"
  3.  
  4. #include "ServerConnection.h"
  5.  
  6. ServerBitmap::ServerBitmap(Point sz, u_short *im, u_short dep)
  7. {
  8.     id= -1;
  9. }
  10.  
  11. ServerBitmap::~ServerBitmap()
  12. {
  13. }
  14.  
  15. int ServerBitmap::loadBitmap()
  16. {
  17.     gConnection->SendMsg(eMsgMakeBitmap, -1, "pbsI", &dbm->size,
  18.                 ShortsPerLine()*2*dbm->size.y, dbm->image, dbm->depth, &id);
  19.      return id;
  20. }
  21.